package org.ru.mse10.cvis.entity.cv;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.ru.mse10.cvis.entity.misc.Identity;

/**
 * The Class KeyQualification.
 */
@Entity
@Table(name = "key_qualification")
public class KeyQualification extends Identity {

	/** The qualification. */
	private String qualification;

	/** The description. */
	private String description;

	/** The cv data. */
	private CvData cvData;

	/**
	 * Gets the qualification.
	 * 
	 * @return the qualification
	 */
	public String getQualification() {
		return qualification;
	}

	/**
	 * Sets the qualification.
	 * 
	 * @param qualification
	 *            the new qualification
	 */
	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	/**
	 * Gets the description.
	 * 
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Sets the description.
	 * 
	 * @param description
	 *            the new description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Gets the cv data.
	 * 
	 * @return the cv data
	 */
	@ManyToOne
	public CvData getCvData() {
		return cvData;
	}

	/**
	 * Sets the cv data.
	 * 
	 * @param cvData
	 *            the new cv data
	 */
	public void setCvData(CvData cvData) {
		this.cvData = cvData;
	}

}
